export enum organizationStateEnum {
  INIT = 'init',
  AUDIT_PENDING = 'audit_pending',
  AUDIT_PASSED = 'audit_passed',
  AUDIT_REJECTED = 'audit_rejected',
  PAID = 'paid',
}

export const organizationStateMap = {
  [organizationStateEnum.INIT]: '未审核',
  [organizationStateEnum.AUDIT_PENDING]: '已提交审核',
  [organizationStateEnum.AUDIT_PASSED]: '审核通过，待缴费',
  [organizationStateEnum.AUDIT_REJECTED]: '未审核通过',
  [organizationStateEnum.PAID]: '已付费',
};

export enum organizationNatureEnum {
  UNKNOWN = 'unknown',
  PRIVATE = 'private',
  STATE_OWNED = 'state_owned',
  JOINT_VENTURES = 'joint_ventures',
  FOREIGN_FUNDED = 'foreign_funded',
}

export const organizationNatureMap = {
  [organizationNatureEnum.UNKNOWN]: '-',
  [organizationNatureEnum.PRIVATE]: '私营企业',
  [organizationNatureEnum.STATE_OWNED]: '国有企业',
  [organizationNatureEnum.JOINT_VENTURES]: '合资企业',
  [organizationNatureEnum.FOREIGN_FUNDED]: '外资企业',
};

export enum organizationScaleEnum {
  UNKNOWN = 'unknown',
  SCALE_UNDER_20 = '<20',
  SCALE_20_100 = '20-100',
  SCALE_100_500 = '100-500',
  SCALE_500 = '>500',
}

export const organizationScaleMap = {
  [organizationScaleEnum.UNKNOWN]: '-',
  [organizationScaleEnum.SCALE_UNDER_20]: '20人以下',
  [organizationScaleEnum.SCALE_20_100]: '20~100人',
  [organizationScaleEnum.SCALE_100_500]: '100~500人',
  [organizationScaleEnum.SCALE_500]: '500人以上',
};
